package lowijs.XfireClient.packet;

import lowijs.XfireClient.event.*;

public class DisconnectedReasonPacket extends Packet {
	int reason;
	
	public DisconnectedReasonPacket(byte[] data) {
		reason = fromBytes(data, 11, 4);
		
		EventManager.fireEvent(new DisconnectedReasonEvent(reason));
	}
}
